xl: improve exit codes of save/restore and migration functions
authorHarmandeep Kaur <write.harmandeep@gmail.com>
Thu, 7 Apr 2016 11:02:31 +0000 (13:02 +0200)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 8 Apr 2016 14:07:17 +0000 (15:07 +0100)
commit4682052ad258d14952d6f6f1994453a62b7b452d
treed9e27252f95967eea5a4c8a524a144abde5c9454
parenta47d28db7c9dad39ec138fd050e84710f7aa4e80
xl: improve exit codes of save/restore and migration functions

by making them more consistent with other examples in xl.

Macros CHK_ERRNOVAL, CHK_SYSCALL, MUST are also updated.

Signed-off-by: Harmandeep Kaur <write.harmandeep@gmail.com>
Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/xl_cmdimpl.c